package com.sunkyc.framework.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sunkyc.framework.system.entity.SysDeptAncestors;

import java.util.List;

/**
 * <p>
 * 部门祖级id表 服务类
 * </p>
 *
 * @author sunkyc
 * @since 2022-06-08
 */
public interface SysDeptAncestorsService extends IService<SysDeptAncestors> {

    List<SysDeptAncestors> queryListByDeptId(Long deptId);

    int delByDeptId(Long deptId);



    Boolean checkedIsChildren(Long deptId,Long parentId);


    List<Long> queryChildrenIds(Long deptId);












}
